import Vue from 'vue'
import App from './App.vue'
import router from './router/index'
import store from './store/index'
import Helper, { Logger } from './helper'
import Service from './service'
import VueAwesomeSwiper from 'vue-awesome-swiper'
import VueLazyload from 'vue-lazyload'
import VueCountdown from '@xkeshi/vue-countdown';
import YDUI from 'vue-ydui'; /* 相当于import YDUI from 'vue-ydui/ydui.rem.js' */
import 'vue-ydui/dist/ydui.rem.css';
/* 使用px：import 'vue-ydui/dist/ydui.px.css'; */

// require styles
import 'swiper/dist/css/swiper.css'
 
import 'lib-flexible'
import './assets/scss/style.scss'
Vue.component(VueCountdown.name, VueCountdown);


Vue.config.productionTip = false
document.body.addEventListener('touchstart',()=>{})
Vue.use(VueAwesomeSwiper, /* { default global options } */)
Vue.use(YDUI);
Vue.use(Service)
Vue.use(Helper,{
  isRem: true
})
Vue.use(VueLazyload)
new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')